package com.honeywen.mymvc.leetcode;

import java.util.HashMap;
import java.util.Map;

/**
 * 535. TinyURL 的加密与解密
 * https://leetcode-cn.com/problems/encode-and-decode-tinyurl/
 *
 * @author wangwei
 * @date 2019/3/23
 */
public class TinyURLTest {

    private static Map<String, String> dict = new HashMap<>();

    // Encodes a URL to a shortened URL.
    public static String encode(String longUrl) {



        return null;
    }


    // Decodes a shortened URL to its original URL.
    public static String decode(String shortUrl) {

        return null;
    }

    public static void main(String[] args) {

        String url = "https://leetcode-cn.com/problems/encode-and-decode-tinyurl/";
        System.out.println(url);

        String en = encode(url);
        System.out.println(en);

        System.out.println(decode(en));

    }
}
